#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
# Modified by:  Mike Frysinger, <vapier@gentoo.org>
# Modified by:  Robin H. Johnson, <robbat2@gentoo.org>
#
# $Id$

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/openrc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/openrc boot

l0:0:wait:/sbin/openrc shutdown 
l0s:0:wait:/sbin/halt -dhp
l1:1:wait:/sbin/openrc single
l2:2:wait:/sbin/openrc nonetwork
l3:3:wait:/sbin/openrc default
l4:4:wait:/sbin/openrc default
l5:5:wait:/sbin/openrc default
l6:6:wait:/sbin/openrc reboot
l6r:6:wait:/sbin/reboot -dk
#z6:6:respawn:/sbin/sulogin
#^ in l6r and l0s I'm not adding -n arg as the new sysvinit pkg wants to! which would mean do not sync

# new-style single-user
su0:S:wait:/sbin/openrc single
su1:S:wait:/sbin/sulogin

# TERMINALS
#don't know why this would be needed: x1:12345:respawn:/sbin/agetty 38400 console linux
#c1:12345:respawn:/sbin/agetty 38400 --noclear --autologin zazdxscf tty1 linux
c1:12345:respawn:/sbin/agetty 38400 --noclear tty1 linux
c2:2345:respawn:/sbin/agetty 38400 --noclear tty2 linux
c3:2345:respawn:/sbin/agetty 38400 --noclear tty3 linux
c4:2345:respawn:/sbin/agetty 38400 --noclear tty4 linux
c5:2345:respawn:/sbin/agetty 38400 --noclear tty5 linux
c6:2345:respawn:/sbin/agetty 38400 --noclear tty6 linux
#allow startx on 7; c7:2345:respawn:/sbin/agetty 38400 --noclear tty7 linux
c8:2345:respawn:/sbin/agetty 38400 --noclear tty8 linux
c9:2345:respawn:/sbin/agetty 38400 --noclear tty9 linux
c10:0123456:respawn:/bin/dmesg --level info,notice,warn,err,crit,alert,emerg --follow >/dev/tty10
c11:0123456:respawn:/bin/dmesg --level debug,notice,warn,err,crit,alert,emerg --follow >/dev/tty11
c12:0123456:respawn:/bin/dmesg --level notice,warn,err,crit,alert,emerg --follow >/dev/tty12
c13:0123456:once:/bin/dmesg --console-level notice

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
#removed muahahahaaaaaaaaaaa  x:a:once:/etc/X11/startDM.sh

